import { BaseService, Service, Permission } from "/@/core";

@Service({
	namespace: "member",
})
class Member extends BaseService {
	@Permission("move")
	move(data: any) {
		return this.request({
			url: "/move",
			method: "POST",
			data
		});
	}

	@Permission("setStatus")
	setStatus(data: any) {
		return this.request({
			url: "/setStatus",
			method: "POST",
			data
		});
	}

	@Permission("reSetPwd")
	reSetPwd(data: any) {
		return this.request({
			url: "/reSetPwd",
			method: "POST",
			data
		});
	}
}

export default Member;
